<template>
  <a-modal :width="'80vw'" title="反向写价格" :body-style="{ padding: 0 }" @cancel="close" :visible="visible" unmount-on-close>
    <reversePriceWriting />
    <template #footer>
      <a-button @click="close">关闭</a-button>
    </template>
  </a-modal>
</template>

<script setup>
  import { ref } from 'vue'
  import reversePriceWriting from '@/views/value-added/reverse-price-writing/reverse-price-writing.vue'

  const visible = ref(false)
  const open = () => {
    visible.value = true
  }
  const close = () => {
    visible.value = false
  }
  defineExpose({
    open,
  })
</script>

<style lang="less" scoped></style>
